home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / attrinit.z / attrinit
Encoding:
Text File  |  2001-04-17  |  5.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. AAAATTTTTTTTRRRRIIIINNNNIIIITTTT((((1111MMMM))))                                                      AAAATTTTTTTTRRRRIIIINNNNIIIITTTT((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      attrinit - Set file attributes
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      aaaattttttttrrrriiiinnnniiiitttt [----_o_p_t_i_o_n[====_v_a_l_u_e]]... [----_a_t_t_r====_v_a_l_u_e]... [_p_a_t_h]...
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _a_t_t_r_i_n_i_t verifies or modifies the attributes associated with files.
  16.  
  17. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  18.      ----vvvveeeerrrriiiiffffyyyy
  19.           If _v_a_l_u_e is iiiinnnnssssttttaaaalllllllleeeedddd don't set the attributes, just report any
  20.           differences between the attributes specified and those which are set
  21.           for each of the specified _p_a_t_hs.  Ignore _p_a_t_hs which do not exist.
  22.           A _v_a_l_u_e of aaaallllllll differs only in that _p_a_t_hs which do not exist are
  23.           reported.  If _v_a_l_u_e is aaaallllssssoooo the attributes are set after they are
  24.           checked.
  25.  
  26.           If this option is not specified the attributes are set.
  27.  
  28.      ----ssssccccrrrriiiipppptttt
  29.           A script file named by _v_a_l_u_e is read for additional directives.
  30.           Each line of the script file must have the form
  31.  
  32.                ----_a_t_t_r====_v_a_l_u_e... _p_a_t_h
  33.  
  34.           where valid _a_t_t_r and _v_a_l_u_es are described below.  Any _a_t_t_r _v_a_l_u_es
  35.           which are specified on the command line override those in the
  36.           script.
  37.  
  38.      ----vvvveeeerrrrbbbboooosssseeee
  39.           Keep a running count of the fraction of the operation which has
  40.           completed.
  41.  
  42. VVVVEEEERRRRIIIIFFFFIIIIAAAABBBBLLLLEEEE AAAATTTTTTTTRRRRIIIIBBBBUUUUTTTTEEEESSSS
  43.      These attributes may always be specified, but are only used for
  44.      verification.  They are never changed by _a_t_t_r_i_n_i_t.
  45.  
  46.      ----mmmmooooddddeeee
  47.           _v_a_l_u_e specifies the file permission bits to look for.
  48.  
  49.      ----uuuusssseeeerrrr
  50.           _v_a_l_u_e specifies the user name or numeric user id of the file's
  51.           owner.
  52.  
  53.      ----ggggrrrroooouuuupppp
  54.           _v_a_l_u_e specifies the group name or numeric group id of the file's
  55.           owning group.
  56.  
  57.      ----ttttyyyyppppeeee
  58.           Permitted _v_a_l_u_es are ddddiiiirrrreeeeccccttttoooorrrryyyy (also dddd) ttttrrrreeeeeeee (also tttt) mmmmoooollllddddyyyyttttrrrreeeeeeee
  59.           (also mmmm) ffffiiiilllleeee (also ffff) ssssyyyymmmmlllliiiinnnnkkkk (also llll or lllliiiinnnnkkkk) ffffiiiiffffoooo (also pppp or
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. AAAATTTTTTTTRRRRIIIINNNNIIIITTTT((((1111MMMM))))                                                      AAAATTTTTTTTRRRRIIIINNNNIIIITTTT((((1111MMMM))))
  71.  
  72.  
  73.  
  74.           ppppiiiippppeeee) cccchhhhaaaarrrrddddeeeevvvv (also cccc or cccchhhhaaaarrrr) bbbblllloooocccckkkkddddeeeevvvv (also bbbb , bbbbllllkkkk or bbbblllloooocccckkkk) and
  75.           ssssoooocccckkkkeeeetttt (also ssss)
  76.  
  77.      A special case is the _v_a_l_u_e ttttrrrreeeeeeee.  If this is used the attribute and
  78.      _v_a_l_u_e specified are applied to the tree rooted at _p_a_t_h.
  79.  
  80. MMMMOOOODDDDIIIIFFFFIIIIAAAABBBBLLLLEEEE AAAATTTTTTTTRRRRIIIIBBBBUUUUTTTTEEEESSSS
  81.      These attributes may be specified for modification or verification.
  82.  
  83.      ----mmmmaaaacccc Set the mandatory access control ( MAC ) label to the specified
  84.           _v_a_l_u_e.
  85.  
  86.      ----ccccaaaapppp Set the capabilities of the file to those listed in _v_a_l_u_e.
  87.  
  88.      ----aaaaccccllll Set the access control list of the file to the specified _v_a_l_u_e.
  89.  
  90.      ----aaaaccccllllddddeeeeffffaaaauuuulllltttt
  91.           Set the default access control list of a directory to the specified
  92.           _v_a_l_u_e.
  93.  
  94. NNNNOOOOTTTTEEEESSSS
  95.      In most cases, _c_h_a_c_l(1), _c_h_c_a_p(1), or _c_h_l_a_b_e_l(1) should be used in
  96.      preference to _a_t_t_r_i_n_i_t.
  97.  
  98. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  99.      _c_h_a_c_l(1) _c_h_c_a_p(1) _c_h_l_a_b_e_l(1)
  100.      _I_R_I_X _A_d_v_a_n_c_e_d _S_i_t_e _a_n_d _S_e_r_v_e_r _A_d_m_i_n_i_s_t_r_a_t_i_o_n _G_u_i_d_e.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.